GetStylHandle
GetStylHandle obtains the handle that is stored at offset 74 of an edit record. On old-format edit records, this function returns NIL (0).
hTE is a handle leading to an edit record created via TENew or that is currently active for the edit record or it will return NIL (0)
if hTE is an old-format edit record.
directly, or obtain information unavailable through normal system
functions. Use double in direction to access the style information:
TEStyleHandle hStyle;
hStyle = GetStylHandle( myEditRec );
(*hStyle)->teRefCon = 'DanR';